package com.assistant.codegen.modules.model.domain.gateway;

import com.assistant.codegen.modules.model.domain.column.ModelColumn;
import com.assistant.codegen.modules.model.domain.Model;
import com.assistant.framework.BaseGateway;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ColumnGateway extends BaseGateway<ModelColumn> {

    List<ModelColumn> findAllByModel(Model model);

    Page<ModelColumn> findAllByModel(Model model, Pageable pageable);
}
